package com.tangyuan.live.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangyuan.live.entity.vo.GiftRankingVo;
import com.tangyuan.model.live.LiveGiveGift;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface LiveGiveGiftMapper extends BaseMapper<LiveGiveGift> {

    BigDecimal getLiveIncome(Long roomId);

    List<GiftRankingVo> giftRanking(Long roomId);

    BigDecimal getUserConsumePrice(Long userId, Long roomId);
}




